package com.cx.pojo;

import java.util.Date;

public class Posting {
    private Integer postingId;

    private Integer communityId;

    private Integer userId;

    private String postingTitle;

    private Date postingTime;

    private Integer postingGood;

    private String postingContent;

    public Integer getPostingId() {
        return postingId;
    }

    public void setPostingId(Integer postingId) {
        this.postingId = postingId;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPostingTitle() {
        return postingTitle;
    }

    public void setPostingTitle(String postingTitle) {
        this.postingTitle = postingTitle == null ? null : postingTitle.trim();
    }

    public Date getPostingTime() {
        return postingTime;
    }

    public void setPostingTime(Date postingTime) {
        this.postingTime = postingTime;
    }

    public Integer getPostingGood() {
        return postingGood;
    }

    public void setPostingGood(Integer postingGood) {
        this.postingGood = postingGood;
    }

    public String getPostingContent() {
        return postingContent;
    }

    public void setPostingContent(String postingContent) {
        this.postingContent = postingContent == null ? null : postingContent.trim();
    }
}